import Vue from 'vue'
import Router from 'vue-router'
import VueResource from 'vue-resource'
import enter from '../components/enter.vue'

Vue.use(Router);
//请求
//配置post请求时候的参数
Vue.use(VueResource)
Vue.http.options.emulateJSON=true;


export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'enter',
      component: enter
    }
  ]
})
